package cn.qiyu5522.tk_ems.entity.dto;

import cn.qiyu5522.tk_ems.entity.validateGroup.UpdateElement;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.github.xiaoymin.knife4j.annotations.Ignore;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ProjectName: tk_ems
 * @Package: cn.qiyu5522.tk_ems.entity.dto
 * @ClassName: ClassroomDTO
 * @Author: [Toneky]
 * @Date: 2023/2/12 10:44
 * @Version: V1.0
 **/
@ApiModel("班级请求对象")
@Data
public class ClassroomDTO {

    @ApiModelProperty(value = "班级编号")
    @NotNull(message = "班级编号不能为空")
    private Long id;

    @ApiModelProperty(value = "班级名称")
    @NotBlank(message = "班级名称不能为空")
    private String name;

    @NotNull(message = "专业编号不能为空")
    private Long majorId;

    @ApiModelProperty(value = "专业编号")
    private String major;


    @NotNull(message = "院系编号不能为空")
    private Long departmentId;

    @ApiModelProperty(value = "院系编号")
    private String department;
}
